package com.beaut.project.dao;


import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;


@Repository
public interface FlowMapper {
	public Map<String,Object> getPersonByUser(Map<String,Object> map);
	public int getSupplierCount(Map<String,Object> map);
	public  int hasBalance(Map<String,Object> map);
	
	
	public Long addPerson(Map<String,Object> map);
	public void updatePerson(Map<String,Object> map);
	
	public void addMapPerson(Map<String,Object> map);
	public void deletePerson1(List<String> list);
	
	public Map<String,Object> getOaDeptIdById(Map<String,Object> map);
	public Long addOaDept(Map<String,Object> map);
	public void addMapDept(Map<String,Object> map);
	public void updateDept(Map<String,Object> map);
	public Map<String,Object> getOaPrivIdByUserPrivId(Map<String,Object> map);
	public void deleteOaDept(List<String> list);
	
	public Long addOaPriv(Map<String,Object> map);
	public void  updateOaPriv(Map<String,Object> map);
	public void addMapPriv(Map<String,Object> map);
	public void deleteOaPriv(List<String> list);
	
	
	public Map<String,String> getFinanceDeptByDeptId(Map<String,Object> map);
	public Map<String,String> getDataFormId(Map<String,Object> map);
	public Map<String,String> getViewBusinessUrl(Map<String,Object> map);
	
	public Map<String,Object> getBusinessFlow(Map<String,Object> map);
	public void addBusinessFlow(Map<String,Object> map);
	public Map<String,Object> getFlowRunPrcs(Map<String,Object> map);

	
	public void backToGDUpdateGDBaseStatus(Map<String,Object> map);
	public void backToGDUpdateXmCheckStatus(Map<String,Object> map);
	public void backToGDUpdateXmBaseContract(Map<String,Object> map);
	
	public Map<String,Object> getFlowView(Map<String,Object> map);
	
	
}
